package cn.topevery.garden.dal.dao;

import cn.topevery.garden.entity.po.ProcessLogFile;
import cn.topevery.garden.entity.query.ProcessLogFileQuery;
import cn.topevery.garden.entity.vo.ProcessLogFileVO;
import cn.topevery.garden.framework.base.BaseDao;
import hw.topevery.framework.db.entity.DataPager;

import java.util.List;

/**
 * 过程日志 附件表
 *
 * @author code-generate
 * @date 2022-02-17
 */
public interface ProcessLogFileDao extends BaseDao<ProcessLogFile> {

    

    /**
     * 获取列表
     *
     * @param query
     */
    DataPager<ProcessLogFileVO> listPage(ProcessLogFileQuery query);

    ProcessLogFile getEntityByColumn(String key, String value);

    List<ProcessLogFile> getListByMainId(Integer mainId);

    void deleteByMainId(Integer mainId);

    void deleteByMainIds(Integer[] mainIds);
}
